package com.rabbit.frame;


import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Toast;

import com.rabbit.library.ui.activity.ElectronSignActivity;
import com.rabbit.library.utils.TimePickerUtils;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void test(View view) {
        //电子签名
//        Intent intent = new Intent(this, ElectronSignActivity.class);
//        startActivity(intent);

        //时间工具类
        TimePickerUtils.initTimePicker(this, new TimePickerUtils.OnChangeListener() {
            @Override
            public void onDatePicked(String year_month_day) {
                Toast.makeText(MainActivity.this,year_month_day,Toast.LENGTH_SHORT).show();
            }
        });

    }
}
